﻿<phone:PhoneApplicationPage 
    x:Class="MyRun.Views.MapResult"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:esri="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client"
    xmlns:esriSymbols="clr-namespace:ESRI.ArcGIS.Client.Symbols;assembly=ESRI.ArcGIS.Client"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    xmlns:local="clr-namespace:MyRun"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">
    <phone:PhoneApplicationPage.Resources>
        <esriSymbols:SimpleLineSymbol x:Key="RedLineSymbol" Color="Red" Width="6" Style="Solid" />
        <esriSymbols:SimpleLineSymbol x:Key="BlackLineSymbol" Color="Black" Width="2" Style="Solid" />
        <esriSymbols:SimpleMarkerSymbol x:Key="BeginRemark" Color="Red" Size="20" Style="Circle" />
        <esriSymbols:SimpleMarkerSymbol x:Key="EndRemark" Color="Red" Size="20" Style="Square" />
    </phone:PhoneApplicationPage.Resources>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
        <esri:Map x:Name="mapFeet" IsLogoVisible="False" Extent="12915510.1474625, 4827746.45379021, 12998675.8823845,4877354.08514722">
            <esri:Map.Layers>
                <local:OfflineArcGISTiledMapServiceLayer ID="StreetMapLayer"
                 Url="http://www.arcgisonline.cn/ArcGIS/rest/services/ChinaOnlineStreetWarm/MapServer"/>
                <esri:GraphicsLayer  MouseLeftButtonDown="GraphicsLayer_MouseLeftButtonDown" ID="MyGraphicsLayer"/>
            </esri:Map.Layers>
        </esri:Map>
    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True">
            <shell:ApplicationBarIconButton x:Name="btnUpload" Click="Upload_Click" IconUri="/icons/appbar.upload.rest.png" Text="上传bryht.net"/>
            <shell:ApplicationBarIconButton Click="ApplicationBarIconButton_Click" IconUri="/icons/sina_32.png" Text="微博分享"/>
            <shell:ApplicationBarIconButton Click="ApplicationBarIconButtonRenren_Click" IconUri="/icons/renren_32.png" Text="人人分享"/>
            <shell:ApplicationBarIconButton Click="ApplicationBarIconButtonQQ_Click" IconUri="/icons/qq_32.png" Text="QQ分享"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
